package com.cchr.acms.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cchr.acms.dao.CaseAuditDAO;
import com.cchr.acms.model.CaseAudit;
import com.cchr.acms.service.CaseAuditService;

@Service
public class CaseAuditServiceImpl implements CaseAuditService{
	@Autowired
    private CaseAuditDAO caseAuditDAO;

	public int insertCaseAudit(CaseAudit caseAudit) {
		return caseAuditDAO.insertCaseAudit(caseAudit);
	}

	public List<CaseAudit> getAllCaseAuditByCaseId(int caseId) {
		return caseAuditDAO.getAllCaseAuditByCaseId(caseId);
	}

}
